package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.Result;
import com.example.domain.entity.Params;
import com.example.domain.entity.Reserve;

import java.util.List;

public interface ReserveService {

    List<Reserve> findAll();

    Page<Reserve> findBySearch(Params params);

    Result add(Reserve reserve);

    void update1(Reserve reserve);

    void update2(Reserve reserve);

    void update3(Reserve reserve);

    void update4(Reserve reserve);

    void delete(Integer id);

    Reserve findById(Integer id);

    void confirm(Reserve reserve);
}